package com.mentaleye.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.mentaleye.dal.model.StudentDisciplineRecord;

public interface StudentDisciplineRecordService {
    boolean insertRecord(StudentDisciplineRecord record);
    
    boolean insertByList(List<StudentDisciplineRecord> recordList);
    
    boolean updateRecord(StudentDisciplineRecord record);
    
    StudentDisciplineRecord getByRecordId(long recordId);
    
    List<StudentDisciplineRecord> getList();
    
    List<StudentDisciplineRecord> getListBySelective(int studentId,Date writeTime);
    
    List<StudentDisciplineRecord> getByRecordIdList(List<Long> recordIdList);
    
    Map<String,Object> getMapByMap(Map<String,Object> map);
    
    List<Map<String,Object>> getListByMap(Map<String,Object> map);
    
    List<Map<String,Object>> getClassDisciplineByMap(Map<String,Object> map);
    
    List<StudentDisciplineRecord> getListByMapOrderByStudentId(Map<String,Object> map);
    
    boolean deleteByRecord(long recordId);
    
    boolean deleteByList(List<Long> idList);
    
    boolean deleteByWriteTime(Date writeTime);
    
    boolean deleteBySelective(Date writeTime);
    
    boolean deleteBySelective(int studentId,Date writeTime,int disciplineId);
}
